package com.internship.service;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.internship.dao.PracticeCommentDao;
import com.internship.model.PracticeComment;


@Service
public class PracticeCommentService {
	@Autowired
	private PracticeCommentDao practiceCommentDao;

	public PracticeComment getPracticeCommentByStudentNumber(String studentNumber) {
		return  practiceCommentDao.getPracticeCommentByStudentNumber(studentNumber);
		
	}
	public int addPracticeComment(PracticeComment practiceComment) {
		return practiceCommentDao.addPracticeComment(practiceComment);
	}
	public int editPracticeComment(PracticeComment practiceComment) {
		return practiceCommentDao.editPracticeComment(practiceComment);
	}
	public int teacherEvaluate(PracticeComment practiceComment) {
		return practiceCommentDao.teacherEvaluate(practiceComment);
	}

}
